define(["jquery","text!modules/center/center.html","modules/footer/footer","css!modules/center/center.css"],function($,html,footer){
	function render(){
		$("body").empty();
		footer.render();
		$("body").append(html);	
		//页脚
	for(var i=0;i<5;i++){
	$(".footer .top").eq(i).css("backgroundImage","url(img/footer"+i+".png)");
		}	
		$(".footer .top").eq(4).css("backgroundImage","url(img/f"+4+".png)");
	//跳转到订单
	$(".particulars").on('touchstart',function(){
		window.location.href='#order';
	})
	}
	return{
		render:render
	}
})